/**
 * 
 */
package mwa.cs.model;

/**
 * A class used for represent as a SM_ERROR_LOG
 */
public class SMErrorLog {
	
	private int vnErrorId;
	private String vaProgramCode;
	private String vaErrorDate;
	private String vaErrorTime;
	private int vnUserId;
	private String vaClassName;
	private String vaErrorDescription;
	private String vaUrlAddress;
	private String vaAgentBrowser;
	
	public SMErrorLog(int pnErrorId, String paProgramCode, String paErrorDate, String paErrorTime,
			int pnUserId, String paClassName, String paErrorDescription, String paUrlAddress, String paAgentBrowser) {
		this.vnErrorId = pnErrorId;
		this.vaProgramCode = paProgramCode;
		this.vaErrorDate = paErrorDate;
		this.vaErrorTime = paErrorTime;
		this.vnUserId = pnUserId;
		this.vaClassName = paClassName;
		this.vaErrorDescription = paErrorDescription;
		this.vaUrlAddress = paUrlAddress;
		this.vaAgentBrowser = paAgentBrowser;
	}

	/**
	 * @return the vnErrorId
	 */
	public int getVnErrorId() {
		return vnErrorId;
	}

	/**
	 * @param vnErrorId the vnErrorId to set
	 */
	public void setVnErrorId(int vnErrorId) {
		this.vnErrorId = vnErrorId;
	}

	/**
	 * @return the vaProgramCode
	 */
	public String getVaProgramCode() {
		return vaProgramCode;
	}

	/**
	 * @param vaProgramCode the vaProgramCode to set
	 */
	public void setVaProgramCode(String vaProgramCode) {
		this.vaProgramCode = vaProgramCode;
	}

	/**
	 * @return the vaErrorDate
	 */
	public String getVaErrorDate() {
		return vaErrorDate;
	}

	/**
	 * @param vaErrorDate the vaErrorDate to set
	 */
	public void setVaErrorDate(String vaErrorDate) {
		this.vaErrorDate = vaErrorDate;
	}

	/**
	 * @return the vaErrorTime
	 */
	public String getVaErrorTime() {
		return vaErrorTime;
	}

	/**
	 * @param vaErrorTime the vaErrorTime to set
	 */
	public void setVaErrorTime(String vaErrorTime) {
		this.vaErrorTime = vaErrorTime;
	}

	/**
	 * @return the vnUserId
	 */
	public int getVnUserId() {
		return vnUserId;
	}

	/**
	 * @param vnUserId the vnUserId to set
	 */
	public void setVnUserId(int vnUserId) {
		this.vnUserId = vnUserId;
	}

	/**
	 * @return the vaClassName
	 */
	public String getVaClassName() {
		return vaClassName;
	}

	/**
	 * @param vaClassName the vaClassName to set
	 */
	public void setVaClassName(String vaClassName) {
		this.vaClassName = vaClassName;
	}

	/**
	 * @return the vaErrorDescription
	 */
	public String getVaErrorDescription() {
		return vaErrorDescription;
	}

	/**
	 * @param vaErrorDescription the vaErrorDescription to set
	 */
	public void setVaErrorDescription(String vaErrorDescription) {
		this.vaErrorDescription = vaErrorDescription;
	}

	/**
	 * @return the vaUrlAddress
	 */
	public String getVaUrlAddress() {
		return vaUrlAddress;
	}

	/**
	 * @param vaUrlAddress the vaUrlAddress to set
	 */
	public void setVaUrlAddress(String vaUrlAddress) {
		this.vaUrlAddress = vaUrlAddress;
	}

	/**
	 * @return the vaAgentBrowser
	 */
	public String getVaAgentBrowser() {
		return vaAgentBrowser;
	}

	/**
	 * @param vaAgentBrowser the vaAgentBrowser to set
	 */
	public void setVaAgentBrowser(String vaAgentBrowser) {
		this.vaAgentBrowser = vaAgentBrowser;
	}

}
